using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Utils;

public class LoadPanel : MonoBehaviour
{
    private GameObject iconGO;
    void Awake()
    {
        iconGO = UITool.GetChildGameObject("Icon", gameObject);
    }
    void Start()
    {
        Destroy(gameObject,2.0f);
    }
    void Update()
    {
        //围绕中心自转(2D)
        iconGO.transform.transform.Rotate(Vector3.forward * -1f);
    }
}
